﻿/**
 * @file guild_redis_key_def.h
 * @date 2021/06/21 09:06
 * 
 * @author harrybao (harrybao@123u.com)
 * 
 * @brief 
 * 
 * @version v1.0.0
 * 
 * @copyright Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司
 * 
 * @par history:
 * <table>
 * <tr><th>Date                     <th>Version     <th>Author      <th>Description
 * <tr><td>2021/06/21 09:06         <td>1.0.0       <td>harrybao    <td>创建初始版本
 * </table>
 */

#pragma once

namespace guild_service {
namespace detail {
/// 查询公会id的命令
constexpr char kQueryGuildIdCommand[] = "keys guild:*";
/// 加载公会最后创建id的键
constexpr char kLoadGuildLastIdKey[] = "guildlastid";
/// 获取公会id的键前缀
constexpr char kLoadGuildIdByRoleKeyPrefix[] = "role2guild:";
/// 公会的键前缀
constexpr char kGuildKeyPrefix[] = "guild:";

/// 最后创建红包id的键
constexpr char kGuildRedEnvelopeLastIdKey[] = "guildredlastid";
/// 账号的键前缀
constexpr char kAccountKeyPrefix[] = "account:";
/// 凭证的键前缀
constexpr char kTokenKeyPrefix[] = "token:";
/// 凭证自增键
constexpr char kTokenSeqKey[] = "tokenseq";
/// 道具自增键
constexpr char kItemSeqKey[] = "itemseq";


}  // namespace detail
}  // namespace guild_service